package pingu.reseau.messages;

import pingu.monde.Plateau;

public class MAP extends Message {

	/**
	 * Message pour envoi de plateau
	 */
	private static final long serialVersionUID = -4130803151732221977L;

	public MAP(Plateau plateau){
		this.type="MAP";
		this.value=plateau;
	}
	
	public MAP(int nbCases){
		this.type="MAP";
		this.value=new Plateau(nbCases);
	}

	public String toString(){
		return type + ";\n" + this.value.toString();
	}
}
